package com.self.engine.rocketmq;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.MessageChannel;

/**
 * @version v1.0
 * @ClassName: OrderConsumer
 * @Description:
 * @Author: Mac
 */
public interface OrderConsumer {

    @Input("exchange_trade_in")
    MessageChannel exchangeTradeIn();

    /**
     * 取消订单的输入
     * @return
     */
    @Input("cancel_order_in")
    MessageChannel cancelOrderIn();


}
